/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package test2;

/**
 *
 * @author jfernan
 */
public class Greeting {

        private GreetingTime gt;
    

        public void setGreetingTime(GreetingTime gt ){
               this.gt = gt;
        }

        public String sayHello(String name ){
               String greeting = gt.getGreeting();
               return greeting+", "+name;
        }

    String SayGreeting(String name) {
        String greeting = gt.getGreeting();
        return greeting+", "+ name;//    throw new UnsupportedOperationException("Not yet implemented");
    }

   
}
